﻿using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Audio;
using Microsoft.Xna.Framework.Content;
using Microsoft.Xna.Framework.GamerServices;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Media;
using TowerDefenseXNA___Aula_1___1703;

namespace TowerDefenseXNA___Aula_1___1703.Estados.Menu
{
    class Menu
    {

         public Menu(ContentManager Content)
        {

        }
        public void Update(GameTime gameTime, SpriteBatch spriteBatch, KeyboardState teclado, KeyboardState teclado_anterior, MouseState mouse, MouseState mouse_anterior, ContentManager Content, ref Fase_1 fase_1)
        {
            if (teclado.IsKeyDown(Keys.Enter) && !teclado_anterior.IsKeyDown(Keys.Enter))
            {
                Game1.estado_atual = Game1.Estados.JOGO;
                fase_1 = new Fase_1(Content);
               
            }
            
        }
        public void Draw(GameTime gameTime)
        {

        }
    }
}
